package top.hepingan.java.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 漂流瓶捞取记录表
 * </p>
 *
 * @author author
 * @since 2025-10-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pickup")
@ApiModel(value="Pickup对象", description="漂流瓶捞取记录表")
public class Pickup implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "捞取记录ID，主键，自增")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "捞取的漂流瓶ID")
    private Long bottleId;

    @ApiModelProperty(value = "捞取者ID")
    private Long pickerId;

    @ApiModelProperty(value = "捞取时间")
    private LocalDateTime pickupTime;


}
